/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.fgv.tcc.fgv.imovel.service;

import br.com.fgv.tcc.fgv.imovel.dao.Dao;
import br.com.fgv.tcc.fgv.imovel.dao.SituacaoDao;
import br.com.fgv.tcc.fgv.imovel.model.Situacao;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 *
 * @author adao
 */
@Stateless
public class SituacaoService extends ServiceGeneric {

    private SituacaoDao situacaoDao;

    public SituacaoService() {
        super(Situacao.class);
        situacaoDao = new SituacaoDao();
    }

    @Override
    protected Dao getDaoManager() {
        return situacaoDao;
    }

    public List<Situacao> listarTodasSituacoes() {
        List<String> ret = new ArrayList<String>();
        ret.add("dedede");
        ret.add("55665");
        return super.listarTodos();
    }

    public List<Object> listarTodosSituacao() {
        return super.listarTodos();
    }

}
